<div class="login">
  <div class="loginboxbg"></div>
     <div class="loginbox">
	{if $ownerID eq 0}
	<img class="login_img" src="/images/login_title.jpg" />
	<form action="" method="post" id="loginForm" name="loginForm">
		<div>
			<input type="text" placeholder="附属卡号后12位或用户名" onkeydown="checkLogin(event);" id="txt_username" class="input_c input_login" value="" name="txt_username" />
		</div>
		<div>
			{if $isIE eq 1}
			<input type="text" placeholder="密码" id="txt_password1" class="input_c input_login" name="txt_password1" />
			<input type="password" style="display:none;" placeholder="密码" onkeydown="checkLogin(event);" id="txt_password" class="input_c input_login" name="txt_password" />
			{else}
			<input type="password" placeholder="密码" onkeydown="checkLogin(event);" id="txt_password" class="input_c input_login" name="txt_password" />
			{/if}
			
		</div>
		<div style="display:block;">
			<input type="text" style="width:100px; float:left;" onkeydown="checkLogin(event);" placeholder="验证码" id="txt_checkcode" class="input_c input_login" name="txt_checkcode" />
			<img onclick="codeReload()" id="codepic" src="/index/code" width="95px" height="27px" style="margin-left:5px;" alt="vcode" />
		</div>
		<div class="sub_log" style="margin-top:20px;">
			<div class="sub_login">
				<input type="button" onclick="checkLogin();" value=""  />
			</div>
			<a href="/index/pwd_forget">忘记密码？</a>
		</div>
		<div class="clear"></div>
	</form>
	{else}
	<img class="login_img" style="border-bottom: 1px solid #9A9A9A; padding-bottom:10px;" src="/images/login_welcome.jpg" />
	<div class="loginInfo">
		<p>尊敬的<span class="font_w_b">{$ownerName}</span>业主</p>
		<span class="owner_c color_green">({$oInfo.city}.{$oInfo.community_name})</span>
		<div class="clear"></div>
		<a href="/owner/index/show"></a>
	</div>
	{/if}
   </div>
</div>
<div style="height:40px;"></div>
{include file="common/o_left.tpl"}

<div class="o_content">
	<div class="o_content_title">
		<img src="/images/o_index_newshop.jpg" />
		<a href="/shoplist">更多&gt;</a>
	</div>
	<div class="clear"></div>
	<div class="o_index_list">
		<table>
			<tr>
			{foreach from=$newSPList item=v}
			<td>
				<table style="width:300px;">
					<tr>
						<td align="center" style="width:290px; height:199px;"><a href="/shoplist/detail?id={$v.shop_id}"><img id="new_img_{$v.shop_id}" imgsrc="{$v.pic_path}" /></a></td>
					</tr>
					<tr>
						<td><div><span class="color_b">[{$v.shop_simple_name}]</span><a href="/shoplist/detail?id={$v.shop_id}">{$v.p_name}</a></div></td>
					</tr>
				</table>
			</td>
			{/foreach}
			</tr>
		</table>
	</div>
	<div class="o_content_title" style="margin-top:30px;">
		<img src="/images/o_index_topshop.jpg" />
		<a href="/shoplist?top=1">更多&gt;</a>
	</div>
	<div class="clear"></div>
	<div class="o_index_list">
		{$topHtml}
	</div>
</div>

<div class="clear"></div>